/*
 * @Author: huangyingli
 * @Date: 2023-02-08 16:29:10
 * @LastEditors: huangyingli
 * @LastEditTime: 2023-02-24 09:45:22
 * @Description:
 */
import Main from '../pages/main/main';
import ModalManage from '../pages/modal-manage/ModalManage';
import { ComManage } from '../pages/component-manage/componentManage';
import { ComManageHandle } from '../pages/component-manage/componentManageHandle';
import ModalManageHandle from '../pages/modal-manage/ModalManageHandle';
import Login from '../pages/login/login';
import { ROUTE_PATH } from '../config/routePath';

import React from 'react';
import ColumnManage from '../pages/column-manage/ColumnManage';
import ColumnManageHandle from '../pages/column-manage/ColumnManageHandle';
import ContentManage from '../pages/content-manage/ContentManage';

export const routes = [
  {
    path: ROUTE_PATH.ROOT,
    element: <Main></Main>,
    children: [
      {
        path: 'component-manage',
        element: <ComManage></ComManage>,
      },
      {
        path: 'component-manage-handle',
        element: <ComManageHandle></ComManageHandle>,
      },
      {
        path: 'modal-manage',
        element: <ModalManage></ModalManage>,
      },
      {
        path: 'modal-manage-handle',
        element: <ModalManageHandle></ModalManageHandle>,
      },
      {
        path: 'column-manage',
        element: <ColumnManage></ColumnManage>,
      },
      {
        path: 'column-manage-handle',
        element: <ColumnManageHandle></ColumnManageHandle>,
      },
      {
        path: 'content-manage',
        element: <ContentManage></ContentManage>,
      },
    ],
  },
  {
    path: ROUTE_PATH.LOGIN,
    element: <Login />,
  },
];
